import { lazy } from "react";

const GoodsRouter = [
  //商品
  {
    path: "/views/goods/shop",
    name: "店铺商品",
    Component: lazy(() => import("@/pages/GoodsModule/shopGoods/index"))
  },
  {
    path: "/views/goods/system",
    name: "系统商品",
    Component: lazy(() => import("@/pages/GoodsModule/systemGoods/index"))
  },
  {
    path: "/views/goods/combination",
    name: "组合商品",
    Component: lazy(() => import("@/pages/GoodsModule/combinationGoods/index"))
  },
  {
    path: "/views/goods/combination/add",
    name: "新增单个组合商品",
    Component: lazy(() => import("@/pages/GoodsModule/combinationGoods/component/AddSingleGoodsPage"))
  },
  {
    path: "/views/goods/combination/addComb",
    name: "批量组合商品",
    Component: lazy(() => import("@/pages/GoodsModule/combinationGoods/component/AddCombGoodsPage"))
  },

  //价格管理
  {
    path: "/views/goods/memberPrice",
    name: "会员价管理",
    Component: lazy(() => import("@/pages/GoodsModule/memberPrice/index"))
  }
]

export default GoodsRouter;